home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 1639 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.9 KB  |  56 lines

  1. Newsgroups: comp.lang.rexx
  2. Path: newsfeeds.ans.net!lexmark!usenet
  3. From: gczaja@lexmark.com(Gregory Czaja)
  4. Subject: Re: WPRPRINTER
  5. Sender: usenet@lexmark.com (News Dude)
  6. Message-ID: <DoxJxD.MtE@lexmark.com>
  7. Date: Wed, 27 Mar 1996 14:22:25 GMT
  8. Reply-To: gregcz@ibm.net(Gregory Czaja)
  9. References: <3187cc$10a2b.3d8@news.arosnet.se>
  10. Nntp-Posting-Host: gregc.pad.prtdev.lexmark.com
  11. Organization: Lexmark International, Lexington, KY
  12. X-Newsreader: IBM NewsReader/2 v1.02
  13. X-Disclaimer: These views are the poster's and not necessarily those of Lexmark
  14.  
  15. In <3187cc$10a2b.3d8@news.arosnet.se>, oyvind.aarhus@arosnet.se (Oyvind Aarhus) writes:
  16. >Hi !!
  17. >I want to create a Networkprinter  object on the desktop vid syscreateobject
  18. >
  19. >     The server name is  CVSTN02 and the alias to the printer is VSTP70
  20. >
  21. >                Klass = "WPRPRINTER"
  22. >                Titel = "VSTP70"
  23. >                Placering = "<WP_DESKTOP>"
  24. >                Parametrar = "OBJECTID=<VSTP70>;"||,
  25. >                "NETID=\\CVSTN02\VSTP70;"||,
  26. >                "SHOWJOBS=ALL;"||,
  27. >                "REFRESHINTERVALL=45;"||,
  28. >                "DEFAULTVIEW=DETAILS;"||,
  29. >                "PORTNAME=LPT2;"||,
  30. >                "PRINTDRIVER=LASERJET.HP LaserJet IIISi;"||,
  31. >                "APPDEFAULT=YES;"
  32. >Alternativ = "REPLACE"
  33. >
  34. >What's wrong ?????????
  35.  
  36. Vyvind,
  37.  
  38.                  Klass = "WPRPrinter"
  39.  
  40. Class names are CASE SENSITIVE.
  41.  
  42.                  Parametrar = "OBJECTID=<VSTP70>;"
  43.  
  44. Object IDs should be specified as the last value in a setup string.
  45.  
  46.                  "PRINTDRIVER=LASERJET.HP LaserJet IIISi;"
  47.  
  48. The last time I tried, WPRPrinter would trap when passed a PRINTDRIVER
  49. setup string. For a remote printer you do not really need a printer
  50. driver specified because it will get that information from the server.
  51.  
  52.  
  53. Thanks, <G>reg                                  ---> DeskMan/2 utilities
  54. (WZ00329 on TalkLink, 71052,720 on CIS)
  55.  
  56.